andrew barr , who was principal of melbourne 's geelong college , has resigned after a photo taken of him watching pornography in his office .
the school council launched an investigation , which included a search of mr barr 's computer , after the photograph appeared on the social media site snapchat .
` the matter was a serious breach of the school 's standards , even if the investigation found mr barr not to have broken any law .